package com.http;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.Random;

import android.util.Log;

import HTTPSendIntegrator.MmsMessage;
import HTTPSendIntegrator.MmsPart;

public class StartUpIntegrate extends MmsMessage {

	public StartUpIntegrate() {
		this.mmsMessageType = MMS_MESSAGE_START_UP;
	}

	public String toString() {
		String mmsMessage = "";
		try {
			if (!isMessageTypeSet())
				return "MessageType not defined";
			

			Log.w("1212", "1");
			mmsMessage += MMS_MESSAGE_TYPE + " " + getMessageType() + NL;
			Log.w("1212", "2");
			
			if (isMessageSenderSet())
				mmsMessage += MMS_FROM + " " + getMessageSender() + NL;
			Log.w("1212", "5");

			/* ContentType MUST be the last header followed by the body */
		
			Log.w("1212", "6");

			return mmsMessage;
		} catch (Exception e) {
			Log.w("124124","ssibal");
			e.printStackTrace();
			return "---";
		}

	}
}
